package com.hl.order.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.hl.order.mapper.ShopInfoChangeMapper;
import com.hl.order.domain.ShopInfoChange;
import com.hl.order.service.IShopInfoChangeService;

/**
 * 店铺信息变更记录Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-08-11
 */
@Service
public class ShopInfoChangeServiceImpl implements IShopInfoChangeService 
{
    @Autowired
    private ShopInfoChangeMapper shopInfoChangeMapper;

    /**
     * 查询店铺信息变更记录
     * 
     * @param shopChangeId 店铺信息变更记录主键
     * @return 店铺信息变更记录
     */
    @Override
    public ShopInfoChange selectShopInfoChangeByShopChangeId(Long shopChangeId)
    {
        return shopInfoChangeMapper.selectShopInfoChangeByShopChangeId(shopChangeId);
    }

    /**
     * 查询店铺信息变更记录列表
     * 
     * @param shopInfoChange 店铺信息变更记录
     * @return 店铺信息变更记录
     */
    @Override
    public List<ShopInfoChange> selectShopInfoChangeList(ShopInfoChange shopInfoChange)
    {
        return shopInfoChangeMapper.selectShopInfoChangeList(shopInfoChange);
    }

    /**
     * 新增店铺信息变更记录
     * 
     * @param shopInfoChange 店铺信息变更记录
     * @return 结果
     */
    @Override
    public int insertShopInfoChange(ShopInfoChange shopInfoChange)
    {
        return shopInfoChangeMapper.insertShopInfoChange(shopInfoChange);
    }

    /**
     * 修改店铺信息变更记录
     * 
     * @param shopInfoChange 店铺信息变更记录
     * @return 结果
     */
    @Override
    public int updateShopInfoChange(ShopInfoChange shopInfoChange)
    {
        return shopInfoChangeMapper.updateShopInfoChange(shopInfoChange);
    }

    /**
     * 批量删除店铺信息变更记录
     * 
     * @param shopChangeIds 需要删除的店铺信息变更记录主键
     * @return 结果
     */
    @Override
    public int deleteShopInfoChangeByShopChangeIds(Long[] shopChangeIds)
    {
        return shopInfoChangeMapper.deleteShopInfoChangeByShopChangeIds(shopChangeIds);
    }

    /**
     * 删除店铺信息变更记录信息
     * 
     * @param shopChangeId 店铺信息变更记录主键
     * @return 结果
     */
    @Override
    public int deleteShopInfoChangeByShopChangeId(Long shopChangeId)
    {
        return shopInfoChangeMapper.deleteShopInfoChangeByShopChangeId(shopChangeId);
    }
}
